using System.ComponentModel.DataAnnotations;

namespace SupplierCustomerManagement.Read.API.Dtos.Lambing
{
    /// <summary>
    /// 窝均产活羔 统计点
    /// </summary>
    public class AverageLivePointDto
    {
        /// <summary>
        /// 标签：未分娩/0/1/2（2表示≥2）
        /// </summary>
        [Required]
        public string label { get; set; } = string.Empty;

        /// <summary>
        /// 窝数占比（0~100）
        /// </summary>
        public decimal ratio { get; set; }

        /// <summary>
        /// 累积窝数占比（0~100）
        /// </summary>
        public decimal cumulativeRatio { get; set; }

        /// <summary>
        /// 窝数
        /// </summary>
        public int count { get; set; }
    }
}
